package com.dirk.happie.beans;

import java.util.ArrayList;
import java.util.List;

import com.google.gson.annotations.SerializedName;

public class ArticleBean {
	@SerializedName("idarticle")
	private String articleId;
	
	@SerializedName("idcategory")
	private String categoryId;
	
	@SerializedName("idcompany")
	private String companyId;
	
	@SerializedName("active")
	private String active;
	
	@SerializedName("num")
	private String articleNum;
	
	@SerializedName("name")
	private String articleName;
	
	@SerializedName("descri")
	private String articleDescription;
	
	@SerializedName("size")
	private String articleSize;
	
	@SerializedName("price")
	private String articlePrice;
	
	@SerializedName("picture")
	private String articlePicture;
	
	@SerializedName("offer_exist")
	private String offerExist;
	
	@SerializedName("offer_price")
	private String offerPrice;
	
	@SerializedName("offer_start_date")
	private String offerStartDate;
	
	@SerializedName("offer_end_date")
	private String offerEndDate;
	
	@SerializedName("option")
	List<OptionsBean> option = new ArrayList<OptionsBean>();
	

	public List<OptionsBean> getOption() {
		return option;
	}

	public void setOption(List<OptionsBean> option) {
		this.option = option;
	}

	@SerializedName("extra")
	List<ExtraBean> extra = new ArrayList<ExtraBean>();


	public List<ExtraBean> getExtra() {
		return extra;
	}

	public void setExtra(List<ExtraBean> extra) {
		this.extra = extra;
	}

	public String getArticleId() {
		return articleId;
	}

	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}

	public ArticleBean(ArticleBean bean) {
		super();
		this.articleId = bean.articleId;
		this.categoryId = bean.categoryId;
		this.companyId = bean.companyId;
		this.active = bean.active;
		this.articleNum = bean.articleNum;
		this.articleName = bean.articleName;
		this.articleDescription = bean.articleDescription;
		this.articlePrice = bean.articlePrice;
		this.articlePicture = bean.articlePicture;
		this.offerExist = bean.offerExist;
		this.offerPrice = bean.offerPrice;
		this.offerStartDate = bean.offerStartDate;
		this.offerEndDate = bean.offerEndDate;
		this.option = bean.option;
		this.extra = bean.extra;
		this.optionId = bean.optionId;
		this.type = bean.type;
	}

	public ArticleBean() {
		
	}
	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getActive() {
		return active;
	}

	public void setActive(String active) {
		this.active = active;
	}

	public String getArticleNum() {
		return articleNum;
	}

	public void setArticleNum(String articleNum) {
		this.articleNum = articleNum;
	}

	public String getArticleName() {
		return articleName;
	}

	public void setArticleName(String articleName) {
		this.articleName = articleName;
	}

	public String getArticleDescription() {
		return articleDescription;
	}

	public void setArticleDescription(String articleDescription) {
		this.articleDescription = articleDescription;
	}

	public String getArticleSize() {
		return articleSize;
	}

	public void setArticleSize(String articleSize) {
		this.articleSize = articleSize;
	}

	public String getArticlePrice() {
		return articlePrice;
	}

	public void setArticlePrice(String articlePrice) {
		this.articlePrice = articlePrice;
	}

	public String getArticlePicture() {
		return articlePicture;
	}

	public void setArticlePicture(String articlePicture) {
		this.articlePicture = articlePicture;
	}

	public String getOfferExist() {
		return offerExist;
	}

	public void setOfferExist(String offerExist) {
		this.offerExist = offerExist;
	}

	public String getOfferPrice() {
		return offerPrice;
	}

	public void setOfferPrice(String offerPrice) {
		this.offerPrice = offerPrice;
	}

	public String getOfferStartDate() {
		return offerStartDate;
	}

	public void setOfferStartDate(String offerStartDate) {
		this.offerStartDate = offerStartDate;
	}

	public String getOfferEndDate() {
		return offerEndDate;
	}

	public void setOfferEndDate(String offerEndDate) {
		this.offerEndDate = offerEndDate;
	}
	
	private String type=null;


	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	private String optionId;


	public String getOptionId() {
		return optionId;
	}

	public void setOptionId(String optionId) {
		this.optionId = optionId;
	}
	
	private String offerCompare;


	public String getOfferCompare() {
		return offerCompare;
	}

	public void setOfferCompare(String offerCompare) {
		this.offerCompare = offerCompare;
	}
}
